﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/ModlingMasterPage.master"
    AutoEventWireup="true" CodeBehind="GetRadiologyRequestView.aspx.cs" Inherits="RMS.GetRadiologyRequestView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PagContent" runat="server">
    <table class="Details">
        <tr>
            <td class="header">
                Regology Requests
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:GridView ID="gvRadiologyRequests" runat="server" ShowHeader="true" AutoGenerateColumns="false"
                            DataKeyNames="RequestID" onrowcommand="gvRadiologyRequests_RowCommand">
                            <Columns>
                                <asp:BoundField DataField="FirstName" HeaderText="First Name"></asp:BoundField>
                                <asp:BoundField DataField="FamilyName" HeaderText="Family Name"></asp:BoundField>
                                <asp:BoundField DataField="PatientId"  HeaderText="PatientId"></asp:BoundField>
                                <asp:BoundField DataField="RequestID"  HeaderText="RequestID"></asp:BoundField>
                                <asp:ButtonField ButtonType="Link" Text="Add Image" CommandName="AddImage">
                                    <ItemStyle Width="10%" />
                                </asp:ButtonField>
                                <asp:ButtonField ButtonType="Link" Text="Request Details" CommandName="RequestDetails">
                                    <ItemStyle Width="10%" />

                                </asp:ButtonField>
                            </Columns>
                        </asp:GridView>
                        <cc:DataPager ID="Pager" CssClass="Pager" runat="server" PageIndex="1" TotalRecords="0"
                            RecordsPerPage="10" OnPageIndexChange="Pager_PageIndexChange" />
                        <asp:Timer ID="Timer1" runat="server" Interval="10000">
                        </asp:Timer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td class="footer">
            </td>
        </tr>
    </table>
</asp:Content>
